<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><html:text name="sys.name" /></title>
</head>
<body>
<form id="jbpmDeployForm" method="post"
	action="<%=WEBPATH%>/jbpm/deploy/save.crm" enctype="multipart/form-data">
<table class="results">
	<thead>
		<tr>
			<th colspan="2"><html:text name="deploy.heading" /></th>
		</tr>
	</thead>
	<tbody class="results">
		<tr>
			<th><html:text name="deploy.prompt" /></th>
			<td><input type="file" name="upload" id="upload" /></td>
		</tr>
		<tr>
			<th></th>
			<td style="text-align: right;"><input id="deploy" name="deploy"
				type="button" value="<html:text name="deploy.button" />"  onclick="javascript:deployClick();"/></td>
		</tr>
	</tbody>
</table>
</form>
<script>
	function deployClick(){
		_$("jbpmDeployForm").submit();
	}
</script>
</body>
</html>